cmake_minimum_required(VERSION 3.17)
project(ephemeris_proccess)
ADD_DEFINITIONS(-D_RTLDLL
        -DNO_STRICT
        -DTRACE
        -DENAGLO
        -DENAQZS
        -DENAGAL
        -DENACMP
        -DENAIRN
        -DNFREQ=3
        -DNEXOBS=3
        -DEXTLEX
        )
set(CMAKE_CXX_STANDARD 14)
#set(CMAKE_VERBOSE_MAKEFILE ON)

include_directories(include src/rcv)

find_package(glog)
find_package(gflags REQUIRED)

add_executable(ephemeris_process
        main.cpp
        src/rtklib_custom.cpp

        )
target_link_libraries(ephemeris_process
        PRIVATE
        ${CMAKE_CURRENT_SOURCE_DIR}/lib/librtklib.a #[[链接RTKLIB]]
        pthread
        glog
        gflags
        )
add_executable(test test.cpp)
